import { Module } from '@nestjs/common';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { EmailService } from './email.service';

@Module({
  imports: [ConfigModule], // 导入配置模块
  providers: [EmailService],
  exports: [EmailService], // 允许其他模块调用
})
export class EmailModule { }